
package com.example.demo.service;

import com.example.demo.controller.vo.OrderDetailVo;
import com.example.demo.entity.CoursePO;
import com.example.demo.entity.OrderPO;
import com.example.demo.util.AjaxResult;
import org.springframework.core.annotation.Order;

import java.util.List;

//拼团接口
public interface OrderService {
    OrderPO getOrderDetailVo(String userId, long orderId);

    List<OrderPO> getOrderList(String userId, int status);

//    List<CoursePO> getCourseList(String userId, int status);

    AjaxResult addOrder(String userId, long courseId);

    List<OrderPO> getOrderList(String userId);
}
